package com.lmu.travel.entity;

import org.springframework.stereotype.Component;

/**
 * @author liuxuhuang
 * @className: Redis
 * @description: redis
 * @email liuxuhuang3970@qq.com
 * @date 2021/6/27 21:35
 * @version：1.0
 */
@Component
public class Redis {
    private String key;
    private String object;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public Redis() {
    }

    public Redis(String key, String object) {
        this.key = key;
        this.object = object;
    }

    @Override
    public String toString() {
        return "Redis{" +
                "key='" + key + '\'' +
                ", object='" + object + '\'' +
                '}';
    }
}
